package cn.haohaowo.webservice.server;

import javax.xml.ws.Endpoint;

import cn.haohaowo.webservice.HelloWorldServiceImpl;

public class WebServiceServer {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		System.out.println("Starting Server!");
		HelloWorldServiceImpl helloWorldService = new HelloWorldServiceImpl();
		String address = "http://localhost:9999/helloWorldService";
		Endpoint.publish(address, helloWorldService);
		System.out.println("Start Sucess!");
	}

}
